package com.ruoyi.counter.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 器具使用记录对象 oprecords
 *
 * @author xll
 * @date 2021-08-02
 */
public class Oprecords extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private String userid;

    public String getOperateTime() {
        return operateTime;
    }

    public void setOperateTime(String operateTime) {
        this.operateTime = operateTime;
    }

    /** 操作时间 */
    @Excel(name = "操作时间")
    private String operateTime;

    /** 操作类型 */
    @Excel(name = "操作类型")
    private String type;

    /** Fid标签 */
    @Excel(name = "Fid标签")
    private String fid;

    /** 副柜ID */
    @Excel(name = "副柜ID")
    private String countersubid;

    /** 工具ID */
    @Excel(name = "工具ID")
    private Long toolid;

    /** 订单id */
    @Excel(name = "订单id")
    private String orderid;

    @Excel(name = "使用人")
    private String userName;

    @Excel(name = "工具柜名称")
    private String counterName;

    @Excel(name = "工具名称")
    private String toolName;

    /** 部门ID */
    private Long deptId;

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getDeptId() {
        return deptId;
    }


    public String getUserName() {
        return userName;
    }

    public String getCounterName() {
        return counterName;
    }

    public String getToolName() {
        return toolName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public void setCounterName(String counterName) {
        this.counterName = counterName;
    }

    public void setToolName(String toolName) {
        this.toolName = toolName;
    }




    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setUserid(String userid)
    {
        this.userid = userid;
    }

    public String getUserid()
    {
        return userid;
    }

    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setFid(String fid)
    {
        this.fid = fid;
    }

    public String getFid()
    {
        return fid;
    }
    public void setCountersubid(String countersubid)
    {
        this.countersubid = countersubid;
    }

    public String getCountersubid()
    {
        return countersubid;
    }
    public void setToolid(Long toolid)
    {
        this.toolid = toolid;
    }

    public Long getToolid()
    {
        return toolid;
    }
    public void setOrderid(String orderid)
    {
        this.orderid = orderid;
    }

    public String getOrderid()
    {
        return orderid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userid", getUserid())
            .append("operatetime", getOperateTime())
            .append("type", getType())
            .append("fid", getFid())
            .append("countersubid", getCountersubid())
            .append("toolid", getToolid())
            .append("orderid", getOrderid())
            .toString();
    }
}
